package com.jerry.seckill.entity;

import java.util.Date;

/**
 * @describe 商品库存表
 */
public class Seckill {
	
    private long seckillId;
    private String name;
    private long number;
    private Date startTime;
    private Date endTime;
    private Date createTime;
    
	public long getSeckillId() {
		return seckillId;
	}
	public void setSeckillId(long seckillId) {
		this.seckillId = seckillId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public long getNumber() {
		return number;
	}
	public void setNumber(long number) {
		this.number = number;
	}
	public Date getStartTime() {
		return startTime;
	}
	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}
	public Date getEndTime() {
		return endTime;
	}
	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	
	@Override
	public String toString() {
		StringBuffer sb = new StringBuffer();
		sb.append("seckillId="+seckillId);
		sb.append(",   ");
		sb.append("name="+name);
		sb.append(",   ");
		sb.append("number="+number);
		sb.append(",   ");
		sb.append("startTime="+startTime);
		sb.append(",   ");
		sb.append("endTime="+endTime);
		sb.append(",   ");
		sb.append("createTime="+createTime);
		return sb.toString();
	}
    
	
}